<template>
	<div class="youxi">
		<h2>游戏分类</h2>
		<slot :youxis="gameArr"></slot>
	</div>
</template>

<script>
	export default {
		name:'Game',
		data() {
			return {
				gameArr:['英雄联盟手游','劲舞团','红色警戒'],
			}
		}
	}
</script>

<style scoped>
	.youxi{
		background-color: skyblue;
		width: 200px;
		height: 300px;
		text-align: center;
	}
	h2{
		background-color: orange;
	}
</style>